package com.thtn.greendroidthtneg2;

import android.app.Activity;
import android.content.Intent;
import android.os.AsyncTask;
import android.util.Log;

public class DialogActivity extends Activity {

	private static final String TAG = "DialogActivity";
	public final int NO_SEARCH_ITEM = 0;
	public final int PROGRESS_DIALOG = 1;
	DownloadData downloadData;
	String value;

	class DownloadData extends AsyncTask<String, String, String> {
		DownloadData() {
		}

		protected String doInBackground(String[] paramArrayOfString) {
			String str1 = paramArrayOfString[0];
			Object localObject = null;

			return null;
		}

		protected void onPostExecute(String paramString) {
			Intent localIntent = new Intent(
					DialogActivity.this.getBaseContext(),
					SearchWordActivity.class);
			localIntent.putExtra("Meaning", DialogActivity.this.value + "<sep>"
					+ paramString);
			DialogActivity.this.startActivity(localIntent);
			DialogActivity.this.dismissDialog(1);
			DialogActivity.this.finish();
		}

		protected void onPreExecute() {
		}
	}
}
